package com.local.quartz.springquartz;

import org.joda.time.DateTime;
import org.springframework.stereotype.Component;

@Component("myBean")
public class MyBean {
	public void printMessage() {
        DateTime dt = new DateTime();
        System.out.println("②每20ms执行一次:"+dt.toString("yyyy-MM-dd hh:mm:ss SSS"));
    }
}
